package cn.iocoder.yudao.module.handguard.convert.homeone;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.handguard.controller.admin.homeone.vo.*;
import cn.iocoder.yudao.module.handguard.dal.dataobject.homeone.HomeOneDO;

/**
 * 首页成交榜-即使滚动数据 Convert
 *
 * @author 芋道源码
 */
@Mapper
public interface HomeOneConvert {

    HomeOneConvert INSTANCE = Mappers.getMapper(HomeOneConvert.class);

    HomeOneDO convert(HomeOneCreateReqVO bean);

    HomeOneDO convert(HomeOneUpdateReqVO bean);

    HomeOneRespVO convert(HomeOneDO bean);

    List<HomeOneRespVO> convertList(List<HomeOneDO> list);

    PageResult<HomeOneRespVO> convertPage(PageResult<HomeOneDO> page);

    List<HomeOneExcelVO> convertList02(List<HomeOneDO> list);

}
